/////////////////////////////////////////////////////////////////////////////
// Name:        themepanel.cpp
// Purpose:     
// Author:      Brant Young
// Modified by: 
// Created:     Sat Jun 23 14:55:30 2007
// RCS-ID:      
// Copyright:   (C) Victsoft 2007
// Licence:     GPL 2.0
/////////////////////////////////////////////////////////////////////////////

#include "wx/wx.h"

#include "themepanel.h"

ThemePanel::ThemePanel(wxWindow* p_parent) : wxPanel(p_parent, ID_THEME_PANEL, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER|wxTAB_TRAVERSAL)
{
    p_root_sizer = new wxBoxSizer(wxHORIZONTAL);
    this->SetSizer(p_root_sizer);

    p_theme_sizer = new wxBoxSizer(wxVERTICAL);
    p_root_sizer->Add(p_theme_sizer, 1, wxGROW, 0);

    wxArrayString p_theme_htmllistStrings;
    p_theme_htmllist = new wxSimpleHtmlListBox( this, ID_THEME_HTMLLIST, wxDefaultPosition, wxDefaultSize, p_theme_htmllistStrings, 0);
    p_theme_sizer->Add(p_theme_htmllist, 1, wxGROW, 0);

    p_info_htmlwnd = new wxHtmlWindow( this, ID_INFO_HTMLWND, wxDefaultPosition, wxSize(200, 100), 0);
    p_theme_sizer->Add(p_info_htmlwnd, 0, wxGROW, 0);

    p_button_sizer = new wxBoxSizer(wxVERTICAL);
    p_root_sizer->Add(p_button_sizer, 0, wxGROW|wxALL, 5);

    p_active_btn = new wxButton( this, ID_ACTIVE_BTN, _("&Active"), wxDefaultPosition, wxDefaultSize, 0 );
    p_button_sizer->Add(p_active_btn, 0, wxGROW|wxLEFT|wxRIGHT|wxTOP, 10);

    p_uninstall_btn = new wxButton( this, ID_UNINSTALL_BTN, _("&Uninstall"), wxDefaultPosition, wxDefaultSize, 0 );
    p_button_sizer->Add(p_uninstall_btn, 0, wxGROW|wxLEFT|wxRIGHT|wxTOP, 10);

////@end ThemePanel content construction
    
}


/*!
 * ThemePanel destructor
 */

ThemePanel::~ThemePanel()
{
////@begin ThemePanel destruction
////@end ThemePanel destruction
}

